import 'package:gczn_hd/app/modules/login/model/login_model.dart';
import 'package:gczn_hd/app/modules/login/model/user_response.dart';
import 'package:get/get.dart';

import '/app/core/model/github_search_query_param.dart';
import '/app/data/model/github_project_search_response.dart';
import '/app/data/remote/gczn_remote_data_source.dart';
import '/app/data/repository/gczn_repository.dart';

class GcznRepositoryImpl implements GcznRepository {
  final GcznRemoteDataSource _remoteSource = Get.find(tag: (GcznRemoteDataSource).toString());

  @override
  Future<LoginResponse> login(LoginRequest data) {
    return _remoteSource.login(data);
  }

  @override
  Future<UserResponse> getUserMsg() {
    return _remoteSource.getUserMsg();
  }

  @override
  Future<bool> logout() {
    return _remoteSource.logout();
  }


}
